package com.ricemall.member.feign;

import com.ricemall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 这是一个声明式的远程调用
 * @Author cappuccino
 * @Date 2021-06-02 20:02
 */
@FeignClient("ricemall-coupon")
public interface CouponFeignService {

    /**
     * 远程调用 获取某个会员的优惠券
     * @return
     */
    @RequestMapping("/coupon/coupon/member/list")
    public R memberscoupons();
}
